/*! \file Primitivebuilder.inl
 *	\brief <write description for Primitivebuilder.inl>
 *
 *	created:	2010/07/12
 *	created:	12:7:2010   13:57
 *	filename: 	C:\src\tactics-engine\libs\gd\Primitivebuilder.inl
 *	file path:	C:\src\tactics-engine\libs\gd
 *	file base:	Primitivebuilder
 *	file ext:	inl
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

namespace tt{
namespace gd{

inline
PrimitiveBuilder::PrimitiveBuilder()
{

}

inline
PrimitiveBuilder::~PrimitiveBuilder()
{

}

inline
SharedPtr<Primitive> PrimitiveBuilder::createPrimitive()
{
	return onCreatePrimitive();
}

inline
SharedPtr<IndexBuffer> PrimitiveBuilder::createIndexBuffer( UInt count )
{
	return onCreateIndexBuffer(count);
}

inline
SharedPtr<VertexBuffer> PrimitiveBuilder::createVertexBuffer( const VertexFormat& format, UInt count )
{
	return onCreateVertexBuffer(format, count);
}

} //namespace gd
} //namespace tt
